#!/usr/bin/env python
# -*- coding:utf-8 -*-
import unittest
import time
from controller import config
from model.common import Goals as go
from controller import con_api_xml
from controller import check
import BaseExcelReport as be
import xlsxwriter
import sendMail as sd


class People(object):
    def __init__(self,name,age):
        self.name = name
        self.age =age


class Dog(object):
    def __init__(self,name,age):
        self.name = name
        self.age =age



if __name__ == '__main__':
   data = {"people":[],"dog":[]}
   p1 = People("csy",27);
   p2=  People("yhy",25);
   data["people"].append(p1);
   data["people"].append(p2);

   d1=Dog("haha",2);
   d2=Dog("xixi",3);
   data["dog"].append(d1);
   data["dog"].append(d2);

   print(data["dog"][0].name)


